#!/usr/bin/python
#Filename:func_global.py

def func():
	global x;
	print 'x is ', x;
	x = 2;
	print 'Change x to ', x;

x = 50;
print 'global x is ', x;
func();
print 'After func(), x is ', x;

